home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbrbuf.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89    DBRBUF    (UNIX only)
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBRBUF    (UNIX only)
  6.  
  7.   FUNCTION:
  8.        Determine whether the  DB-Library  network  buffer  contains  any
  9.        unread bytes.
  10.  
  11.   SYNTAX:
  12.        DBBOOL DBRBUF(dbproc)
  13.  
  14.        DBPROCESS *dbproc;
  15.  
  16.   COMMENTS:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBRBUF    (UNIX only)   Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o This routine lets the application know if the  DB-Library  net-
  28.          work buffer contains any bytes yet unread.
  29.        o DBRBUF() is ordinarily used in conjunction with  dbsqlok()  and
  30.          DBIORDESC()  to  manage multiple input data streams.  To manage
  31.          these input  streams  efficiently,  an  application  that  uses
  32.          dbsqlok()  should  check whether any bytes remain either in the
  33.          network buffer (by calling DBRBUF()) or in the  network  itself
  34.          (by  calling  the  UNIX  select()) before it calls dbresults().
  35.          See the DB-Library Reference Supplement for an example of this.
  36.  
  37.   PARAMETERS:
  38.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  39.            connection for a particular front-end/SQL Server process.  It
  40.            contains all the information that DB-Library uses  to  manage
  41.            communications and data between the front end and SQL Server.
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89    DBRBUF    (UNIX only)
  47.   ______________________________________________________________________
  48.  
  49.   RETURNS:
  50.        TRUE (bytes remain in buffer) or FALSE (no bytes in buffer).
  51.  
  52.   SEE ALSO:
  53.        DBIORDESC, dbsqlok, dbresults
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.